package com.jiunuan.live.im.constants;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @Author: JiuNuan
 * @CreateTime: 2024-08-10 21:43
 * @Description: 消息类型code枚举
 */

@Getter
@AllArgsConstructor
public enum ImMsgCodeEnum {
    WS_SHARD_MSG(1000, "首次建立ws连接消息包"),
    IM_LOGIN_MSG(1001,"登录im消息包"),
    IM_LOGOUT_MSG(1002,"登出im消息包"),
    IM_BIZ_MSG(1003,"常规业务消息包"),
    IM_HEARTBEAT_MSG(1004,"im服务器心跳消息包"),
    IM_ACK_MSG(1005,"im服务的ack消息包");
    private int code;
    private String desc;
}
